package top.ffhome.common.utils;

import java.io.Closeable;
import java.io.IOException;

/** IO相关工具类 */
public abstract class IOUtils {
	/**
	 * 关闭对象，连接
	 * @param closeable
	 */
	public static void closeQuietly(final Closeable closeable) {
		try {
			if (closeable != null) {
				closeable.close();
			}
		} catch (final IOException ioe) {
			// ignore
		}
	}
}
